// 组织级别列表
const institutionLevelList = [
    { name: '省', code: 10 },
    { name: '市', code: 20 },
    { name: '区', code: 30 },
    { name: '集团校', code: 35 },
    { name: '校', code: 40 }
]
// 组织类型
const institutionObj =
    { 
        1: '学校', 
        2: '单位' 
    }
// 组织级别列表    
const institutionLevelObj =
    { 
        10: '省', 
        20: '市', 
        30: '区', 
        35: '集团校', 
        40: '校' 
    }
// 所属学段    
const stageList = [
    {name: '小学', code: '1204'},
    {name: '初中', code: '1203'},
    {name: '高中', code: '1202'}
]  
// 组织类型  
const institutionList = [
    {name: '学校', code: '1'},
    {name: '单位', code: '2'}
]
// 组织属性
const institutionAttrList = [
    {name: '真实组织', code: 0},
    {name: '虚拟组织', code: 1},
    {name: '测试组织', code: 2}
]
const institutionAttrObj = 
    {
        0: '真实组织',
        1: '虚拟组织',
        2: '测试组织'
    }
    // 校级角色职位
const schoolPositionList = [
    { code: 0, name: '学校领导' },
    { code: 1, name: '学科教师' }
];

// 组织角色职位
const institutionPositionList = [
    { code: 2, name: '教研员' },
    { code: 3, name: '其他区域管理者' }
];

// 初始化导航
const navigationList = [
    {   
        id: 1,
        type: 1, // 1 初始导航， 2 后期加的自定义导航
        name: '首页',
        custom_name: '', // 自定义名称
        moduleKey: 'home', // 应用唯一标识
        link: '',
        link_type: 1, // 1 应用  2 链接
        sub_navs: [] // 二级导航
    },
    {
        id: 2,
        type: 1,
        name: '研修中心',
        custom_name: '',
        moduleKey: '', // 应用唯一标识
        link: '',
        link_type: null, // 1 应用  2 链接
        sub_navs: [
            {   
                id: 21,
                name: '研修活动',
                link_type: null, // 1 应用  2 链接
                link: '',
                moduleKey: '' // 应用唯一标识
            },
            {   
                id: 22,
                name: '研修课程',
                link_type: null,
                link: '',
                moduleKey: '' // 应用唯一标识
            },
            {   
                id: 23,
                name: '网络课程',
                link_type: null,
                link: '',
                moduleKey: '' // 应用唯一标识
            },
            {   
                id: 24,
                name: '校本课程',
                link_type: null,
                link: '',
                moduleKey: '' // 应用唯一标识
            }
        ]
    },
    {
        id: 3,
        type: 1,
        name: '教学中心',
        custom_name: '',
        moduleKey: '', // 应用唯一标识
        link: '',
        link_type: null, // 1 应用  2 链接
        sub_navs: [
            {
                id: 31,
                name: '备课',
                link_type: null,
                link: '',
                 moduleKey: '' // 应用唯一标识
            },
            {
                id: 32,
                name: '上课',
                link_type: null,
                link: '',
                moduleKey: '' // 应用唯一标识
            },
            {
                id: 33,
                name: '作业',
                link_type: null,
                link: '',
                moduleKey: '' // 应用唯一标识
            },
            {
                id: 34,
                name: '考试',
                link_type: null,
                link: '',
                moduleKey: '' // 应用唯一标识
            }
        ]
    },
    {
        id: 4,
        type: 1,
        name: '评价中心',
        custom_name: '',
        moduleKey: '', // 应用唯一标识
        link: '',
        link_type: null, // 1 应用  2 链接
        sub_navs: [
            {
                id: 41,
                name: '课程质量监测',
                link_type: null,
                link: '',
                moduleKey: '' // 应用唯一标识
            }
        ]
    },
    {
        id: 5,
        type: 1,
        name: '资源中心',
        custom_name: '',
        moduleKey: 'resourceApplication:square', // 应用唯一标识
        link: '',
        link_type: null, // 1 应用  2 链接
        sub_navs: []
    }
]

export {
    schoolPositionList,
    institutionPositionList,
    institutionLevelList,
    institutionObj,
    institutionLevelObj,
    stageList,
    institutionList,
    institutionAttrList,
    institutionAttrObj,
    navigationList
}
